Technical Q&AQD 17 - Spooling in or out of CompressPicture or CompressImage (15-Sept-95)Q Can I use the CompressPicture routine to spool in a source picture from disk by overriding the QuickDraw proc getPicProc as documented in Inside Macintosh Volume V, pages 88-89? I'm trying to save the contents of an off-screen GWorld as a compressed PICT resource. Unfortunately there's no direct way to compress the GWorld's pixel map to a resource. A We definitely don't recommend trying to spool in or out the results of CompressPicture or CompressImage. We recommend doing one of the following instead:
The second suggestion is probably the best idea if you want to keep your memory footprint small. But much of the decision depends on your application. Technical Q&A Previous Question | Contents | Next Question |